const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    client: {
      overlay: false,
    },
  }
});

module.exports = {
  lintOnSave: false,
  devServer: {
    proxy: { // 配置跨域
      '/storage': {
        target: `https://ancientapi.pro.aisisoft.com.cn`, //请求后台接口
        changeOrigin: true, // 允许跨域
        // pathRewrite: {
        //   "^/storage":""
        // }
      }
    }
  }
}
